Post

Replies

Boosts

Views

Activity

Comment on `accessibilityUserInputLabels` is ignored on `UIBarButtonItem`
Thus, when the documentation refers to « dictated or user-typed input », it does not mean that the view which property accessibilityUserInputLabels is set should be a control that can receive user input. It rather means that the user will search for the view/control name and that we as developers can set this property to offer alternative names to accessibilityLabel when the latter will not be the best match to the user‘s input to make it easier for the user to find the view/control.
Oct ’24
Comment on `accessibilityUserInputLabels` is ignored on `UIBarButtonItem`
Thank you I read the documentation, which is why I shared the link to the property in the first place. I think you have a misconception about the property accessibilityUserInputLabels. Have you watched the WWDC I referenced? This is about adding names to a view/control so that when the user uses an accessibility search as offered by Full Keyboard Access or Voice Over search, they can find the view/control and activate it. It works with plain views, system buttons and so on.
Oct ’24
Comment on `accessibilityUserInputLabels` is ignored on `UIBarButtonItem`
What is a user input control? You mean a text field for instance? Then I don’t think this the topic as I mention in my second comment. I watched the WWDC session Support Full Keyboard Access in your iOS app where they use this API in a custom UI to make it easier to find a preferences button. This led me to think that it should be possible to use this API on UIBarButtonItem as it’s a common place to put a preferences button.
Oct ’24
Comment on tvOS search: grid keyboard will not slide when search results are focused
Yes, I thought about that too. I also tried to play with the content size of the collection view with no luck so far. It seems that the search controller changes the layout margins of the search results view (collection view) to make the content appear on the side of the keyboard and under the search text bar. I tried to inspect that and change the layout margins but again with no results. Indeed Spotify handles that well, thanks! I did not check that one. So there is definitely a solution.
Nov ’22